package com.bingxue.edu.migration.pay;

import jakarta.validation.constraints.NotNull;
import lombok.Data;

import java.math.BigDecimal;

/**
 * @author panbo
 * @since 2024/9/20
 */
@Data
public class TempPayRecordReq {

    @NotNull(message = "openid不能为空")
    private String openid;

    @NotNull(message = "学生不能为空")
    private String studentId;

    @NotNull(message = "班级不能为空")
    private String classId;

    @NotNull(message = "班级学生不能为空")
    private String classStudentId;

    @NotNull(message = "老师不能为空")
    private String teacherId;

    @NotNull(message = "年级不能为空")
    private String grade;

    @NotNull(message = "科目不能为空")
    private String subject;

    @NotNull(message = "班级名称不能为空")
    private String className;

    @NotNull(message = "总价不能为空")
    private BigDecimal originalTotalPrice;

    @NotNull(message = "价格不能为空")
    private BigDecimal actualTotalPrice;

    private Boolean debug;
}
